demo_list = [1, 2, 3, 4, 5, 6, 7]
# 取余是使用%
# for i, item in enumerate(demo_list):
#     if item % 2 != 0:
#         print(item)
#         demo_list[i] = None
# print(demo_list)

# 快捷键itere
# for i, item in enumerate(demo_list):
#     if item % 2 == 0:
#         demo_list[i] += 1
# print(demo_list)


# zip() 生成器,对应纵向取出来,变成一个新的元祖, 矩阵转置
